<%@page contentType="text/html; charset=utf-8" pageEncoding="UTF-8" %>
<jsp:include page="/includes/header.jsp" />
<jsp:include page="/includes/column_left_all.jsp" />
<%-- Use the following left column instead after you configure a 
     secure connection as described in chapter 15.
<jsp:include page="/includes/column_left_all_absolute.jsp" />
--%>

<!-- begin middle column -->

<section class="cart">

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<h1>输入您的姓名和联系信息</h1>

<form action="<c:url value='/order/processUser' />" method=post>
    <p id="required">必填 <span class="required">*</span></p>
    
    <label>姓氏</label>
    <input type="text" name="firstName"  maxlength=20 
               value="${user.firstName}" required>
    <p class="required">*</p><br>
    
    <label>名称</label>
    <input type="text" name="lastName" value="${user.lastName}" required>
    <p class="required">*</p><br>
    
    <label>邮箱地址</label>
    <input type="email" name="email" value="${user.email}" required>
    <p class="required">*</p><br>
    
    <label>公司</label>
    <input type="text" name="companyName" value="${user.companyName}">
    <p class="required">&nbsp;</p><br>
    
    <label>地址1</label>
    <input type="text" name="address1" value="${user.address1}" required> 
    <p class="required">*</p><br>
    
    <label>地址2</label>
    <input type="text" name="address2" value="${user.address2}">
    <p class="required">&nbsp;</p><br>
    
    <label>城市</label>
    <input type="text" name="city" value="${user.city}" required>
    <p class="required">*</p><br>
    
    <label>省</label>
    <input type="text" name="state" value="${user.state}" required>
    <p class="required">*</p><br>
    
    <label>邮政编码</label>
    <input type="text" name="zip" value="${user.zip}" required>
    <p class="required">*</p><br>
    
    <label>国家</label>
    <input type="text" name="country" value="${user.country}" required> 
    <p class="required">*</p><br>
    
    <label>&nbsp;</label>
    <input type="submit" value="Continue">
</form>
    
</section>

<!-- end middle column -->

<jsp:include page="/includes/footer.jsp" />